<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<style type="text/css">
<!--
body {
	margin-left: 0px;
	margin-top: 0px;
	margin-right: 0px;
	margin-bottom: 0px;
	background-color: #F8F9FA;
}
-->
</style>
<link href="{<$css_url>}admin/skin.css" rel="stylesheet" type="text/css" />
</head>
<body>
<table width="100%" border="0" cellpadding="0" cellspacing="0">
  <tr>
    <td width="17" height="29" valign="top" background="{<$image_url>}admin/mail_leftbg.gif"><img src="{<$image_url>}admin/left-top-right.gif" width="17" height="29" /></td>
    <td width="935" height="29" valign="top" background="{<$image_url>}admin/content-bg.gif"><table width="100%" height="31" border="0" cellpadding="0" cellspacing="0" class="left_topbg" id="table2">
      <tr>
        <td height="31"><div class="titlebt">订单管理</div></td>
      </tr>
    </table></td>
    <td width="16" valign="top" background="{<$image_url>}admin/mail_rightbg.gif"><img src="{<$image_url>}admin/nav-right-bg.gif" width="16" height="29" /></td>
  </tr>
  <tr>
    <td height="71" valign="middle" background="{<$image_url>}admin/mail_leftbg.gif">&nbsp;</td>
    <td valign="top" bgcolor="#F7F8F9"><table width="100%" height="138" border="0" cellpadding="0" cellspacing="0">
      <tr>
        <td height="13" valign="top">&nbsp;</td>
      </tr>
      <tr>
        <td valign="top"><table width="98%" border="0" align="center" cellpadding="0" cellspacing="0">
          <tr>
            <td class="left_txt">当前位置：订单管理</td>
          </tr>
          <tr>
            <td height="20"><table width="100%" height="1" border="0" cellpadding="0" cellspacing="0" bgcolor="#CCCCCC">
              <tr>
                <td></td>
              </tr>
            </table></td>
          </tr>
          <tr>
            <td><table width="100%" height="55" border="0" cellpadding="0" cellspacing="0">
              <tr>
                <td width="10%" height="55" valign="middle"><img src="{<$image_url>}admin/title.gif" width="54" height="55"></td>
                <td width="90%" valign="top">
                <table class="left_txt2">
                    <tr>
                        <td>当前代理商信息</td>
                    </tr>
                    <tr>
                        <td>地区：{<$agent.area_name>}，用户名：{<$agent.agent_no>}，姓名：{<$agent.agent_name>}</td>
                    </tr>
                </table>
                </td>
              </tr>
            </table></td>
          </tr>
          <tr>
            <td>
            <table width="100%" height="31" border="0" cellpadding="0" cellspacing="0" class="nowtable">
              <tr>
                <td class="left_bt2">&nbsp;&nbsp;&nbsp;&nbsp;订单管理</td>
              </tr>
            </table>
            </td>
          </tr>
          <tr>
            <td>
            <table width="100%" border="0" cellspacing="0" cellpadding="0" class="left_txt2">
              <tr>
                <td bgcolor="#f2f2f2">ID号</td>
                <td height="30" bgcolor="#f2f2f2">订单号码</td>
                <td bgcolor="#f2f2f2">金额</td>
                <td bgcolor="#f2f2f2">已付</td>
                <td bgcolor="#f2f2f2">会员提成</td>
                <td bgcolor="#f2f2f2">代练状态</td>
                <td bgcolor="#f2f2f2">下单时间</td>
                <td bgcolor="#f2f2f2">操作</td>
              </tr>
			 {<foreach from=$orders item=order>}
              <tr>
                <td>{<$order.uid>}</td>
                <td height="28"><a href="/admin_order/order_view/{<$order.order_id>}">{<$order.order_id>}</a></td>
                <td>{<$order.real_price>}</td>
                <td>{<$order.pay_count>}</td>
                <td>{<$order.order_discount>}</td>
                <td>{<$order.state_desc>}</td>
                <td>{<$order.order_time>}</td>
                <td>
                <a href="/admin_order/order_view/{<$order.order_id>}">详情</a> |
                <a href="/admin_order/order_edit/{<$order.order_id>}/">修改</a> |
                <a href="/admin_order/order_del/{<$order.order_id>}/" onclick="return window.confirm('确定删除吗？请三思而后行哦！');">删除</a> |
                <a href="/admin_order/order_send/{<$order.order_id>}/">发送</a> |
                {<if $order.iid>}
                <a href="/admin_important/view/{<$order.iid>}/">查看资料</a>
                {<else>}
                查看资料
                {</if>}
                </td>
              </tr>
             {</foreach>}
              <tr>
                <td colspan="6">{<$page_html>}</td>
              </tr>
            </table>
            </td>
          </tr>
        </table>
        </td>
      </tr>
    </table></td>
    <td background="{<$image_url>}admin/mail_rightbg.gif">&nbsp;</td>
  </tr>
  <tr>
    <td valign="middle" background="{<$image_url>}admin/mail_leftbg.gif"><img src="{<$image_url>}admin/buttom_left2.gif" width="17" height="17" /></td>
      <td height="17" valign="top" background="{<$image_url>}admin/buttom_bgs.gif"><img src="{<$image_url>}admin/buttom_bgs.gif" width="17" height="17" /></td>
    <td background="{<$image_url>}admin/mail_rightbg.gif"><img src="{<$image_url>}admin/buttom_right2.gif" width="16" height="17" /></td>
  </tr>
</table>
</body>